package com.cos.lession77.service.impl.impl;

import com.cos.lession77.dao.DeptMapper;
import com.cos.lession77.entity.Dept;
import com.cos.lession77.service.DeptServices;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: COS
 * @time: 2022/10/10 11:23
 * @description:
 */
@Service
public class DeptServicesImpl implements DeptServices {
    @Autowired
    private DeptMapper deptMapper;

    @Override
    public List<Dept> getAll() {
        return deptMapper.getAll();
    }
}
